package com.TPNexus;

import java.io.Serializable;

import javax.annotation.PostConstruct;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;

@Named("nc")
@SessionScoped
public class NavigationController implements Serializable {

    private static final long serialVersionUID = 1298691598235664951L;

    private String page;

    @PostConstruct
    public void init() {
	if (page == null) {
	    page = "default";
	}
    }
    public void setPage(String page) {
	this.page = page;
    }

    public String getPage() {
	return page;

    }
}
